home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _8E71DC55CC464A4BB2D9DAF5B0D4A638 < prev    next >
Encoding:
Text File  |  2002-03-26  |  3.5 KB  |  189 lines

  1. {
  2.     \\ BACKGROUND TASK POPUP MENU
  3.  
  4.     menuDef 
  5.     {
  6.         name        "verifynetwork_popmenu"
  7.            visible        0
  8.            fullscreen    0
  9.         rect        0 0 640 480
  10.         focusColor    .49 .56 .27 1
  11.            style        1
  12.         popup
  13.     
  14.         onESC 
  15.         { 
  16.             close verifynetwork_popmenu ; 
  17.         }
  18.  
  19.         itemDef
  20.         {
  21.             name        window
  22.             rect        0 0 640 480
  23.             style        WINDOW_STYLE_FILLED
  24.             backcolor    0 0 0 .5
  25.             visible        1
  26.             decoration
  27.         }
  28.  
  29.         itemDef 
  30.         {
  31.             name        window
  32.                rect        160 80 400 400
  33.             background    "gfx/menus/backdrop/requestor"
  34.             style        WINDOW_STYLE_SHADER
  35.             visible        1
  36.             decoration
  37.         }
  38.  
  39.         itemDef 
  40.         {
  41.             name        window
  42.             text        "WARNING"
  43.             style        WINDOW_STYLE_FILLED
  44.             textfont    "hud"
  45.             textscale    .53
  46.             rect        180 102 322 33
  47.             textalign    1
  48.             textalignx    160
  49.             textaligny    7
  50.             forecolor    .12 .14 .08 1
  51.             backcolor    0 0 0 .25
  52.             visible        1
  53.             decoration
  54.         }
  55.  
  56.         itemDef 
  57.         {
  58.             name        window
  59.             rect        215 163 250 160
  60.             style        WINDOW_STYLE_FILLED
  61.             text        "This option requries you to be connected to the internet, please ensure you are currently connected to the internet and try again."
  62.             textalignx    5
  63.             textaligny    8
  64.             textfont    "hud"
  65.             textscale    .43
  66.             forecolor    1 1 1 1
  67.             backcolor    0 0 0 .20
  68.             visible        1
  69.  
  70.             autowrapped
  71.             decoration
  72.         }
  73.  
  74.  
  75.          itemDef 
  76.         {
  77.             name        ignore_multi
  78.             text        "Show This Warning Again:"
  79.             type        1
  80.             textfont    "hud"
  81.             textscale    .43
  82.             type        ITEM_TYPE_MULTI
  83.             style        WINDOW_STYLE_FILLED
  84.             rect        225 335 226 20
  85.             textalignx    2
  86.             textaligny    3
  87.             forecolor    .12 .14 .08 1
  88.             backcolor    0 0 0 0
  89.             visible        1
  90.             cvar        "com_ignoreverifynetwork"
  91.  
  92.             cvarFloatList
  93.             {
  94.                 "YES" 0
  95.                 "NO"  1
  96.             }
  97.             
  98.             action 
  99.             { 
  100.                 play "sound/misc/menus/select.wav" ; 
  101.             }
  102.             mouseEnter 
  103.             { 
  104.                 play "sound/misc/menus/hilite1.wav" ; 
  105.                 setitemcolor ignore_multi backcolor .12 .14 .08 1
  106.                 setitemcolor ignore_multi forecolor .49 .56 .27 1
  107.             }                 
  108.             mouseExit 
  109.             { 
  110.                 setitemcolor ignore_multi backcolor 0 0 0 0
  111.                 setitemcolor ignore_multi forecolor .12 .14 .08 1
  112.             }
  113.         }
  114.  
  115.         //    BUTTONS
  116.  
  117.         itemDef 
  118.         {
  119.             name        ok_button
  120.             text        "OK"
  121.             type        1
  122.             textfont    "hud"
  123.             textscale    .43
  124.             type        ITEM_TYPE_BUTTON
  125.             style        WINDOW_STYLE_FILLED
  126.             rect        255 372 45 26
  127.             textalignx    10
  128.             textaligny    5
  129.             forecolor    .12 .14 .08 1
  130.             backcolor    0 0 0 0
  131.             border        1
  132.             bordercolor    0 0 0 1
  133.             visible        1
  134.             
  135.             action 
  136.             { 
  137.                 play "sound/misc/menus/select.wav" ; 
  138.                 close verifynetwork_popmenu ; 
  139.             }
  140.             mouseEnter 
  141.             { 
  142.                 play "sound/misc/menus/hilite1.wav" ; 
  143.                 setitemcolor ok_button backcolor .12 .14 .08 1
  144.                 setitemcolor ok_button forecolor .49 .56 .27 1
  145.             }                 
  146.             mouseExit 
  147.             { 
  148.                 setitemcolor ok_button backcolor 0 0 0 0
  149.                 setitemcolor ok_button forecolor .12 .14 .08 1
  150.             }
  151.         }
  152.  
  153.         itemDef 
  154.         {
  155.             name        quit_button
  156.             text        "Quit"
  157.             type        1
  158.             textfont    "hud"
  159.             textscale    .43
  160.             type        ITEM_TYPE_BUTTON
  161.             style        WINDOW_STYLE_FILLED
  162.             rect        375 372 45 26
  163.             textalignx    7
  164.             textaligny    5
  165.             forecolor    .12 .14 .08 1
  166.             backcolor    0 0 0 0
  167.             border        1
  168.             bordercolor    0 0 0 1
  169.             visible        1
  170.             
  171.             action 
  172.             { 
  173.                 play "sound/misc/menus/select.wav" ; 
  174.                 uiScript "quit"
  175.             }
  176.             mouseEnter 
  177.             { 
  178.                 play "sound/misc/menus/hilite1.wav" ; 
  179.                 setitemcolor quit_button backcolor .12 .14 .08 1
  180.                 setitemcolor quit_button forecolor .49 .56 .27 1
  181.             }                 
  182.             mouseExit 
  183.             { 
  184.                 setitemcolor quit_button backcolor 0 0 0 0
  185.                 setitemcolor quit_button forecolor .12 .14 .08 1
  186.             }
  187.         }
  188.     }
  189. }